var app = getApp();
Page({
    data:{
        footList:[]
    },
    onReady:function(){
        var self=this
        var value = wx.getStorageSync('userInfo')
        // app.showToast()
        wx.request({
        url: 'https://www.vaniswdq.com/getMyfoot',
        data: {
            uuid:value.uuid
        },
        header: {
            'content-type': 'application/x-www-form-urlencoded'
        },
        success: function(res) {
            // console.log(res.data)
            var dataList=res.data.dataWrapper.tbMyFoot
            // console.log(dataList)
            self.setData({
                footList:dataList
            })
        }
    })
    },
    onShareAppMessage: function () {
        var brandId=wx.getStorageSync('brandId')
        return {
        title: '到此一玩小程序',
        path: '/pages/home/home?brandId='+brandId,
        success: function(res) {
            // 分享成功
        },
        fail: function(res) {
            // 分享失败
        }
        }
    }
})